﻿@using ABC.Controllers.ViewModels
@model BaseViewModel
<div class="subnavbar">
    <div class="subnavbar-inner">
        <div class="container">
            <ul class="mainnav">
                <li class="@(Model.CurrentControllerName == "my" || Model.CurrentControllerName == "information" ? "active" : string.Empty)"><a href="@Url.Action("Index", "My")"><i class="icon-edit"></i><span>Информация</span></a></li>          
                <li class="@(Model.CurrentControllerName == "cabinet" || Model.CurrentControllerName == "bso" || Model.CurrentControllerName == "services" || Model.CurrentControllerName == "finance" || Model.CurrentControllerName == "background" ? "active" : string.Empty)"><a href="@Url.Action("Index", "Cabinet", new { area = "My" })"><i class="icon-edit"></i><span>Кабинет</span> </a></li>
                <li class="@(Model.CurrentControllerName == "clients" ? "active" : string.Empty)"><a href="@Url.Action("Index", "Clients", new { area = "My" })"><i class="icon-group"></i><span>Клиенты</span> </a></li>
                <li class="@(Model.CurrentControllerName == "education" ? "active" : string.Empty)"><a href="@Url.Action("Index", "Education")"><i class="icon-book"></i><span>Обучение</span> </a></li>
                <li class="@(Model.CurrentControllerName == "community" ? "active" : string.Empty)"><a href="@Url.Action("Index", "Community")"><i class="icon-comments"></i><span>Сообщество</span> </a></li>
           </ul>
        </div>
    </div>
</div>